@layout("/common/_container.html"){
<style>
	.input-group{
		/*width:45%;*/
	}
	.row input[type=text],.form-control, .single-line{
	    width:35%;
        float:left;
    }
    .error{
        color:red;
        float:left;
        padding-top: 7px;
        padding-left: 10px;
    }
    .isShow label{
        padding-right:10px;
        padding-top:3px;
    }
	.input-group{
		width:60%;
		margin:0 auto;
	}
	.row input[type=text]{
	width:45%; 
    }
    .error{
        color:red;
    }
</style>
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="agentId" value="${item.agentId}">
            <input type="hidden" id="alevel2" value="${item.alevel}">
            <input type="hidden" id="provinceId" value="${item.provinceId}">
            <input type="hidden" id="cityId" value="${item.cityId}">
            <input type="hidden" id="areaId" value="${item.areaId}">
            <input type="hidden" id="agentStatus" value="${item.agentStatus}">
			
            <div class="row">
                <div class="col-sm-12 b-r">
                            <#input id="agentName" name="代理名称" value="${item.agentName}" underline="true"/>
                           <div class="col-sm-12" style="margin-bottom: 19px;" >
			                   <#Select id="alevel" name="代理级别" >
			                        <option value="">--请选择--</option>
			                        <option value="10">省级</option>
			                        <option value="11">市级</option>
			                        <option value="12">区县</option>
			                    </#Select>
			                </div>
			                <div class="row" style="margin-bottom: 1%;">
			                	<div class="col-sm-12" style="margin-bottom: 19px;" >
									<#Select id="province" name="用户地址所在地：省 ">
										<option id="choosePro"value="-1">请选择省份</option>
									</#Select>
								</div>
								<div class="col-sm-12" style="margin-bottom: 19px;" >
									<#Select id="citys" name="市" >
										<option id="chooseCity" value="-1">请选择城市</option>
								　　</#Select>
								</div>
								<div class="col-sm-12" style="margin-bottom: 19px;" >
									<#Select id="county"  name="县" >
										<option id="chooseCounty" value="-1">请选择城市</option>
								　　</#Select>	
								</div>	 
							</div>
							<div class="hr-line-dashed"></div>
                            <#input id="agencyFee" name="每股缴纳的代理费" value="${item.agencyFee}" underline="true"/>
                            <#input id="totalNum" name="代理公司股东总人数" value="${item.totalNum}" underline="true"/>
                            <#input id="totalStoreNum" name="完成目标辖区商家数量" value="${item.totalStoreNum}" underline="true"/>
                </div>

                <div class="col-sm-12">
                	注意<span style="color:red">*</span>:成为股东分红系数&lt;完成70%(落地)的分红系数&lt;全部完成的分红系数 
                            <#input id="oneRatio" name="成为股东的分红系数" value="${item.oneRatio}"  underline="true"/>
                            <#input id="twoRatio" name="完成70%(落地)的分红系数" value="${item.twoRatio}"  underline="true"/>
                            <#input id="threeRatio" name="全部完成的分红系数" value="${item.threeRatio}" underline="true"/>
                            <#input id="loginPwd" name="密码" value="${item.loginName}" underline="true"/>
                            <!-- <#input id="agentStatus" name="账号状态：0停用 1启用" value="${item.agentStatus}" underline="true"/> -->
               				<div style="displa:flex;width:700px;height:50px;line-height:30px;margin:0 auto;">
	                            <span>账号状态</span>
	                            <input type="radio" id="isAgentStatus" name="agentStatus" value='1'/>启用
	                            <input type="radio" id="isNotAgentStatus" name="agentStatus" value='0'/>停用
	                        </div>
                </div>
            </div>


            <div class="row btn-group-m-t">
                <div class="col-sm-10 text-center">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="SktAgentsInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="SktAgentsInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/huamao/public/areas.js"></script>
<script src="${ctxPath}/static/modular/huamao/sktAgents/sktAgents_info.js"></script>
@}
